<template>
  <div>
    <button style="color: red" @click="item">
      <slot></slot>
      {{ title }}
    </button>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "hehe",
    },
  },
  components: {},
  data() {
    return {};
  },
  methods: {
    item() {
      alert("111111111111");
    },
  },
};
</script>
<style scoped>
</style>